package exercise;

public class Q40_Books {
//멤버변수
	private String mno;
	private String title;
	private String writer;
	//생성자-클래스 이름과 동일
	public Q40_Books() {}
	public Q40_Books (String mno, String title, String writer){
		this.mno=mno;
		this.title=title;
		this.writer=writer;
		
	}
	
	//setter/getter 메서드
	public void setMno(String mno){this.mno=mno;}
	public void setTitle(String title){this.title=title;}
	public void setWriter(String writer){this.writer=writer;}
	public String getMno(){return this.mno;}
	public String getTitle(){return this.title;}
	public String getWriter(){return this.writer;}
	
    //equals
	public int getLastFees(int day){
		return 0;
	}
}
   
    			
    
